Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

[fix] don't transform webpack2 query objects#44

Merged
sairion merged 1 commit intowebpack-contrib:masterfrom
kinetifex:webpack2-query-fix
Dec 15, 2016
Merged

[fix] don't transform webpack2 query objects#44
sairion merged 1 commit intowebpack-contrib:masterfrom
kinetifex:webpack2-query-fix

Conversation

@kinetifex
Copy link
Copy Markdown
Contributor

Webpack2 supports query objects which are returned by parseQuery, not a new object instance.
https://github.com/webpack/loader-utils/blob/master/index.js#L68
Because of this, we shouldn't transform the parseQuery result directly which is what this PR addresses.

@sairion sairion merged commit c2baa5e into webpack-contrib:master Dec 15, 2016
@sairion
Copy link
Copy Markdown
Collaborator

sairion commented Dec 15, 2016

Thanks!

@kinetifex
Copy link
Copy Markdown
Contributor Author

Thank you! Can you please publish this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants